package com.stylefeng.guns.modular.system.model;

import java.io.Serializable;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 课件信息; InnoDB free: 18432 kB
 * </p>
 *
 * @author stylefeng123
 * @since 2018-04-04
 */
@TableName("clm_courseware")
public class ClmCourseware extends Model<ClmCourseware> {

    private static final long serialVersionUID = 1L;

    /**
     * 课件 id
     */
    @TableId("courseware_id")
    private String coursewareId;
    /**
     * 站点id
     */
    @TableField("site_id")
    private String siteId;
    /**
     * 教师ID
     */
    @TableField("teacher_id")
    private String teacherId;
    /**
     * 课件编码
     */
    @TableField("courseware_code")
    private String coursewareCode;
    /**
     * 文档名称
     */
    @TableField("name_")
    private String name;
    /**
     * 访问 url
     */
    @TableField("visit_url")
    private String visitUrl;
    /**
     * 文档ID
     */
    @TableField("doc_id")
    private String docId;
    /**
     * 原始文档地址
     */
    @TableField("resource_url")
    private String resourceUrl;
    /**
     * 上传文件的物理地址
     */
    @TableField("upload_url")
    private String uploadUrl;
    /**
     * 观看口令
     */
    @TableField("token_")
    private String token;
    /**
     * 创建该课件的用户 ID,此ID为第三方用户ID
     */
    @TableField("creator_")
    private String creator;
    /**
     * Web端学生界面设置(1是三分屏，2 是文档/视频为主，3是两分屏，4：互动增加)
            
     */
    @TableField("ui_mode")
    private Integer uiMode;
    /**
     * 三分屏颜色选择（blue, default,green），默认是 default
     */
    @TableField("ui_color")
    private String uiColor;
    /**
     * uiMode等于 2时候，设置是否显示小窗口。默认为 false
            
     */
    @TableField("ui_window")
    private Integer uiWindow;
    /**
     * uiMode等于 2时候，设置是否视频为主。默认为 false。
     */
    @TableField("ui_video")
    private Integer uiVideo;
    /**
     * 1 文档为主，2视频为主，3音频文档；新版本播放器: 1 和 2 均为视频+文档 3 是音频文档默认值为 1
     */
    @TableField("mobile_mode")
    private Integer mobileMode;
    /**
     * uiMode等于 2时候，设置是否自动播放。默认为 true。
            
     */
    @TableField("auto_play")
    private Integer autoPlay;
    /**
     * 创建者
     */
    @TableField("create_user_id")
    private String createUserId;
    /**
     * 创建时间
     */
    @TableField("create_date")
    private Date createDate;
    /**
     * 文件转码状态，0已转码1未转码，默认1
     */
    @TableField("transcode_")
    private Integer transcode;
    /**
     * 0 纯文档 1 多媒体 ，2录制件,默认0
     */
    @TableField("from_way")
    private Integer fromWay;
    /**
     * 是否删除,true(1)删除，false(0)正常
     */
    @TableField("be_deleted")
    private Integer beDeleted;


    public String getCoursewareId() {
        return coursewareId;
    }

    public void setCoursewareId(String coursewareId) {
        this.coursewareId = coursewareId;
    }

    public String getSiteId() {
        return siteId;
    }

    public void setSiteId(String siteId) {
        this.siteId = siteId;
    }

    public String getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(String teacherId) {
        this.teacherId = teacherId;
    }

    public String getCoursewareCode() {
        return coursewareCode;
    }

    public void setCoursewareCode(String coursewareCode) {
        this.coursewareCode = coursewareCode;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getVisitUrl() {
        return visitUrl;
    }

    public void setVisitUrl(String visitUrl) {
        this.visitUrl = visitUrl;
    }

    public String getDocId() {
        return docId;
    }

    public void setDocId(String docId) {
        this.docId = docId;
    }

    public String getResourceUrl() {
        return resourceUrl;
    }

    public void setResourceUrl(String resourceUrl) {
        this.resourceUrl = resourceUrl;
    }

    public String getUploadUrl() {
        return uploadUrl;
    }

    public void setUploadUrl(String uploadUrl) {
        this.uploadUrl = uploadUrl;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public Integer getUiMode() {
        return uiMode;
    }

    public void setUiMode(Integer uiMode) {
        this.uiMode = uiMode;
    }

    public String getUiColor() {
        return uiColor;
    }

    public void setUiColor(String uiColor) {
        this.uiColor = uiColor;
    }

    public Integer getUiWindow() {
        return uiWindow;
    }

    public void setUiWindow(Integer uiWindow) {
        this.uiWindow = uiWindow;
    }

    public Integer getUiVideo() {
        return uiVideo;
    }

    public void setUiVideo(Integer uiVideo) {
        this.uiVideo = uiVideo;
    }

    public Integer getMobileMode() {
        return mobileMode;
    }

    public void setMobileMode(Integer mobileMode) {
        this.mobileMode = mobileMode;
    }

    public Integer getAutoPlay() {
        return autoPlay;
    }

    public void setAutoPlay(Integer autoPlay) {
        this.autoPlay = autoPlay;
    }

    public String getCreateUserId() {
        return createUserId;
    }

    public void setCreateUserId(String createUserId) {
        this.createUserId = createUserId;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Integer getTranscode() {
        return transcode;
    }

    public void setTranscode(Integer transcode) {
        this.transcode = transcode;
    }

    public Integer getFromWay() {
        return fromWay;
    }

    public void setFromWay(Integer fromWay) {
        this.fromWay = fromWay;
    }

    public Integer getBeDeleted() {
        return beDeleted;
    }

    public void setBeDeleted(Integer beDeleted) {
        this.beDeleted = beDeleted;
    }

    @Override
    protected Serializable pkVal() {
        return this.coursewareId;
    }

    @Override
    public String toString() {
        return "ClmCourseware{" +
        "coursewareId=" + coursewareId +
        ", siteId=" + siteId +
        ", teacherId=" + teacherId +
        ", coursewareCode=" + coursewareCode +
        ", name=" + name +
        ", visitUrl=" + visitUrl +
        ", docId=" + docId +
        ", resourceUrl=" + resourceUrl +
        ", uploadUrl=" + uploadUrl +
        ", token=" + token +
        ", creator=" + creator +
        ", uiMode=" + uiMode +
        ", uiColor=" + uiColor +
        ", uiWindow=" + uiWindow +
        ", uiVideo=" + uiVideo +
        ", mobileMode=" + mobileMode +
        ", autoPlay=" + autoPlay +
        ", createUserId=" + createUserId +
        ", createDate=" + createDate +
        ", transcode=" + transcode +
        ", fromWay=" + fromWay +
        ", beDeleted=" + beDeleted +
        "}";
    }
}
